package com.kajespero.service.summary.impl;

import java.util.Collection;
import java.util.Map;

import com.kajespero.dao.summary.impl.SummaryDAOImpl;
import com.kajespero.domain.summary.impl.SummaryDomainImpl;
import com.kajespero.model.PageBean;
import com.kajespero.model.SummaryBean;
import com.kajespero.service.commons.impl.AbstractReadWriteService;
import com.kajespero.service.summary.SummaryService;

public class SummaryServiceImpl extends AbstractReadWriteService<SummaryDomainImpl, SummaryDAOImpl, SummaryBean, Long> implements SummaryService{

	@Override
	public Collection<PageBean> findPageBySummary(String pathSummary) {
		return getDomain().findPageBySummary(pathSummary);
	}

	@Override
	public Map<SummaryBean, Collection<SummaryBean>> summariesMap() {
		return getDomain().summariesMap();
	}
}
